package cn.oop.plane;

import java.awt.*;

public class GameUtil {

    private GameUtil() {

    }

    public static Image getImage(String path) {
        Image image = Toolkit.getDefaultToolkit().getImage(
                GameUtil.class.getClassLoader().getResource(path));

        return image;

    }

}
